<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>
<form id="studentForm">
	<div style="float: left;">
		<input type="hidden" name="id" value="${student.id }"/>
		<input type="hidden" name="emp" value="${student.emp.id }"/>
		<div class="form-item required">
			<label for="">姓名</label>
			<input value="${student.name}" data-options="required:true" type="text" class="easyui-textbox" name="name"/>
		</div>
		<div class="form-item">
			<label for="">性别</label>
			<input type="radio" ${empty student || student.gender == '男'?'checked':'' } name="gender" value="男"/> 男
			<input type="radio" ${student.gender == '女'?'checked':'' } name="gender" value="女"/> 女
		</div>
		<div class="form-item required">
			<label for="">电话</label>
			<input value="${student.tel }" data-options="required:true,validType:'length[11,11]'" type="text" class="easyui-numberbox" name="tel"/>
		</div>
		<div class="form-item required">
			<label for="">QQ</label>
			<input value="${student.qq }"   data-options="required:true" type="text" class="easyui-numberbox" name="qq"/>
		</div>
		<div class="form-item">
		<label for="">来源</label>
		<select data-options="panelHeight:'auto',editable:false"  class="easyui-combobox"  name = "source" style="width: 202px;">
			<option value="1" ${empty student || student.source['sourceType'] == '1' ? 'selected' : ''} >校招</option>
			<option value="2" ${student.source['sourceType'] == '2' ? 'selected' : ''}>社招</option>
			<option value="3" ${student.source['sourceType'] == '3' ? 'selected' : ''}>他人推荐</option>
		</select>
		
		<div class="form-item">
			<label for="" style="margin-right: 0;">出生日期</label>
			<input value="${student.birthdays}"  class="easyui-datebox" style="width: 202px;" name="birthdays" data-options="editable:false"/>
		</div>
		</div>
		<div class="form-item">
			<label for="" style="position: relative;bottom: 25px;">备注</label>
			<textarea class="easyui-textbox" data-options="multiline:true" name="remarks"  style="width: 200px;height:55px;border-radius: 5px;">${student.remarks }</textarea>
		</div>
	</div>
	<div style="float: right;padding-right: 45px;"> 
		<div class="form-item">
			<label for="">地址</label>
			<input value="${student.address }"  type="text" class="easyui-textbox" name="address"/>
		</div>
		<div class="form-item">
			<label for="">父亲</label>
			<input value="${student.father }" type="text" class="easyui-textbox" name="father"/>
		</div>
		<div class="form-item">
			<label for="">母亲</label>
			<input  value="${student.mother }"type="text" class="easyui-textbox" name="mother"/>
		</div>
		<div class="form-item">
			<label for="">父亲电话</label>
			<input value="${student.fatherTel }"  type="text" class="easyui-numberbox" data-options="validType:'length[11,11]'" name="fatherTel"/>
		</div>
		<div class="form-item">
			<label for="">母亲电话</label>
			<input value="${student.motherTel }" type="text" class="easyui-numberbox"  data-options="validType:'length[11,11]'" name="motherTel"/>
		</div>
		<div class="form-item">
			<label for="">学校</label>
			<input value="${student.school }" type="text" class="easyui-textbox" name="school"/>
		</div>
		<div  class="form-item ">
			<label for="">学历</label>
			<select data-options="panelHeight:'auto',editable:false" class="easyui-combobox" name="education" style="width: 202px;">
				<option>高中生</option>
				<option>大学生</option>
			</select>
		</div>
	</div>	
</form>